<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<meta content="text/html"  http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<title>HttpMessageConverter Demo</title>
	</head>
	<body>
		<div id="resp"></div>
		<input type="button" onclick="req();" value="请求"/>
	</body>
	<script type="text/javascript" src="assets/js/jquery.js"></script>
	<script >
		function req() {
			$.ajax({
				url: "convert",
				data: "1-wangyunfei",
				type: "POST",
				contentType:"application/x-wisely",
				success: function(data) {
					$("#resp").html(data);
					}				
			})
		}
	</script>
</html>